package com.chensf.studydemo.process

import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.chensf.studydemo.R
import kotlinx.android.synthetic.main.activity_process2.*

class ProcessActivity2 : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_process2)
        textView.setOnClickListener {
            val intent = Intent("${packageName}.ProcessActivity1")
            startActivity(intent)
        }
    }
}